﻿/*
 * Created by SharpDevelop.
 * User: Administrator
 * Date: 2017/9/7
 * Time: 10:42
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;

namespace Spider
{
	/// <summary>
	/// Description of MainForm.
	/// </summary>
	public partial class MainForm : Form
	{
		public MainForm()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
			
			//
			// TODO: Add constructor code after the InitializeComponent() call.
			//
		}
		void 关于ToolStripMenuItemClick(object sender, EventArgs e)
		{
			MessageBox.Show("开发：ahao");
		}
		void 退出ToolStripMenuItemClick(object sender, EventArgs e)
		{
			MessageBoxButtons mess=MessageBoxButtons.YesNo;
			DialogResult dr=MessageBox.Show("确定要退出软件吗？","提示",mess);
			if(dr==DialogResult.Yes){
				this.Close();
			}
		}
	}
}
